package cn.yh.springbootjwt.mapper;

import cn.yh.springbootjwt.domain.entity.OrdersDo;
import cn.yh.springbootjwt.domain.vo.OrdersDtlListVo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrdersMapper {
    int insertOrders(OrdersDo ordersDo);
//    OrdersDo selectOrdersDoByUserId(Long userId);
    List<OrdersDtlListVo> selectOrdersDtlList(Long userId);

    int deleteByOrderDtlId(Long orderDtlId);
}
